package com.gitee.wsl.android.ui.recyclerView.itemDecoration.builder

import android.graphics.drawable.Drawable
import androidx.annotation.ColorInt
import androidx.annotation.ColorRes
import androidx.annotation.DimenRes
import androidx.annotation.DrawableRes

/**
 * @Author : HHotHeart
 * @Time : 2021/5/31 16:07
 * @Description : 接口类
 */
interface ILDecoration {
    fun setPadding(dpValuePadding: Float): ILDecoration
    fun setPadding(@DimenRes dimenResId: Int): ILDecoration
    fun setLeftPadding(dpValuePadding: Float): ILDecoration
    fun setRightPadding(dpValuePadding: Float): ILDecoration
    fun setLeftPadding(@DimenRes dimenResId: Int): ILDecoration
    fun setRightPadding(@DimenRes dimenResId: Int): ILDecoration
    fun setTopPadding(dpValuePadding: Float): ILDecoration
    fun setBottomPadding(dpValuePadding: Float): ILDecoration
    fun setTopPadding(@DimenRes dimenResId: Int): ILDecoration
    fun setBottomPadding(@DimenRes dimenResId: Int): ILDecoration
    fun setColorRes(@ColorRes colorResId: Int): ILDecoration
    fun setColor(@ColorInt color: Int): ILDecoration
    fun setDrawableRes(@DrawableRes drawableResId: Int): ILDecoration
    fun setDrawable(drawable: Drawable?): ILDecoration

    //    int getDividerSpace();
    var leftPadding: Int
    var rightPadding: Int
    var topPadding: Int
    var bottomPadding: Int
    val dividerDrawable: Drawable
}